Grok 4.7 vs Claude Sonnet 5.5

xAI Grok 4.7Anthropic Claude Claude Sonnet 5.5
VendorxAIAnthropic Claude
Context window500,0001,000,000
Max output—128,000
ReasoningYesYes
Tool callingYesYes
File inputYesYes
Inputtext, imagetext, image, file
Outputtexttext
Released2026-09-212026-09-28